package com.audaque.springboot.foshanupload.web.querydsldemo.service;



import com.audaque.springboot.foshanupload.web.querydslmodedemo.model.entity.DemoEntity;
import com.querydsl.core.types.Predicate;

import java.util.List;
import java.util.Map;

public interface DemoService {



    List<DemoEntity> findByAgeAndHeight();

    List<DemoEntity> selectAll();

    Iterable<DemoEntity> findAll(Predicate predicate);

    Map<String, Object> page(Predicate predicate, Integer pageNo, Integer pageSize);
}
